package com.swt.gap.service;

import com.swt.gap.common.exception.NoMatchedTemplateException;
import com.swt.gap.common.graph.ImportEmailGraphData;
import com.swt.gap.common.graph.TransferGraphData;
import com.swt.gap.common.graph.TransferGraphDataVO;
import com.swt.gap.model.vo.graph.ImportGraphDataVO;
import com.swt.gap.model.vo.graph.PreviewGraphDataMultiFileVO;
import com.swt.gap.model.vo.graph.PreviewGraphDataVO;

import java.io.IOException;
import java.time.format.DateTimeParseException;

/**
 * 请填写说明
 *
 * @author sx
 * @date 2020/7/20 17:01
 */
public interface GraphDataTransferService {

    TransferGraphDataVO previewGraphData(PreviewGraphDataVO record) throws DateTimeParseException, NoMatchedTemplateException;

    TransferGraphDataVO importGraphData(ImportGraphDataVO record) throws DateTimeParseException, NoMatchedTemplateException;


    TransferGraphData importEmlGraphData(ImportEmailGraphData record);

    Integer importKB(Integer taskId, String fileName) throws IOException;

}
